package com.zbp.config.exception;

import lombok.Getter;

@Getter
public enum MessageEnum {

    ERROR(500, "系统异常"),
    SUCCESS(0, "操作成功");

    private final int code;
    private final String message;

    MessageEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
